package com.zhj.structure.graph.utils;

/**
 * @PackageName:com.zhj.structure.figure.utils
 * @ClassName:Vertex
 * @auter: 朱慧杰
 * @date:2020/8/12 0012 21:51
 **/
public class Vertex {

    private String value;
    private boolean visited;

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public boolean isVisited() {
        return visited;
    }

    public void setVisited(boolean visited) {
        this.visited = visited;
    }

    public Vertex(String value) {
        this.value = value;
    }

    public Vertex() {

    }

    @Override
    public String toString() {
        return "Vertex{" +
                "value='" + value + '\'' +
                '}';
    }
}
